package net.huashitong.service.money;


import net.huashitong.ssydt.money.entity.SsMoneyOrder;
import net.huashitong.ssydt.money.entity.vo.OrderInVO;
import net.huashitong.ssydt.money.entity.vo.OrderOutVO;
import net.huashitong.ssydt.money.entity.vo.VipBagsVo;
import net.huashitong.ssydt.money.entity.vo.VipMyVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;

;

/**
 * @author shaoxian.zhong
 * @create 2018-06-25 18:43
 */
public interface MoneyService {
    VipMyVO vipMy(String userId);

    List<VipBagsVo> vipBags();

    List<VipBagsVo> vipBagsByAppType(String appType);

    OrderOutVO orders(OrderInVO orderInVO, String userId);

    TreeMap<String, String> payForWeChat(String orderId, HttpServletRequest request, HttpServletResponse response) throws Exception;

    public Map<String,String> payWebForWx(String orderId, String userId, HttpServletRequest request, HttpServletResponse response);
    void payCallback(SsMoneyOrder ssMoneyOrder);
}
